/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package model;

import java.sql.Date;
import java.sql.ResultSet;
import java.sql.SQLException;

/**
 *
 * @author JArik
 */
public class Sklad {


    private int id;
    private String name;
    private String descr;

    public Sklad() {
        
    }

    public Sklad(int aInt, String string) {
        id = aInt;
        name = string;
    }

    public String getDescr() {
        return descr;
    }

    public void setDescr(String descr) {
        this.descr = descr;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
    public Sklad (int sId, String sName, String sDes)
    {
        id = sId;
        name = sName;
        descr = sDes;
    }
    public String toString()
    {
        return name;
    }
    
    

}
